<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/spline.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">spline.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="spline_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*##############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an               *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for     *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                         *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                              *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                      *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                               *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under            *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                          *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)           *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                       *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY          *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A          *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                 *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with             *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                       *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                    *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                             *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *#############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef SPLINE_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define SPLINE_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;QVector3D&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;QColor&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;QString&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="entity_8h.html">entity.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="pointervec_8h.html">pointervec.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a> {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">class </span>FileBuffer;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">class </span>Plane;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">class </span>IntersectionData;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">class </span>LineShader;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html">   53</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1Spline.html">Spline</a> : <span class="keyword">public</span> <a class="code" href="classShipCAD_1_1Entity.html">Entity</a></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;{</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    Q_OBJECT</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1Spline.html#a7ad84ea604562c7c9cb309b4e78e25c5">Spline</a>();</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1Spline.html#a7ad84ea604562c7c9cb309b4e78e25c5">Spline</a>(<span class="keyword">const</span> <a class="code" href="classShipCAD_1_1Spline.html">Spline</a>&amp; copied);</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#a20cddb0145346150b4ca30b63ef47c9b">   67</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1Spline.html#a20cddb0145346150b4ca30b63ef47c9b">~Spline</a>() {}</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    </div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="comment">// altering</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment"></span>    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#ac3d9f4514573be91b316413bf062791a">add</a>(<span class="keyword">const</span> QVector3D&amp; p);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a120c5530571f138daad61426053220f3">delete_point</a>(<span class="keywordtype">size_t</span> index);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#aa1ea6446e0b59d5cce88580242cd25b6">insert</a>(<span class="keywordtype">size_t</span> index, <span class="keyword">const</span> QVector3D&amp; p);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#aa8e588b92d23c74bb6ec120624b49e54">insert_spline</a>(<span class="keywordtype">size_t</span> index, <span class="keywordtype">bool</span> invert, <span class="keywordtype">bool</span> duplicate_point, </div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;               <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1Spline.html">Spline</a>&amp; source);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a26293a4ee636c2b968c45731425d5c94">invert_direction</a>();</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Spline.html#a043f418b363a0dc7161b9106a72ef8b4">simplify</a>(<span class="keywordtype">float</span> criterium);</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a02967f3eee8b1755eab0d7da55c3c621">clear</a>();</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a9b466ad7510032dafb0421f2d834bde6">rebuild</a>();</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a6e932411f0f4463514f80011c58f5e6a">setBuild</a>(<span class="keywordtype">bool</span> val);</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="comment">// geometry ops</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1Spline.html#a33226d5554ed979f264eb4c6d533145f">coord_length</a>(<span class="keywordtype">float</span> t1, <span class="keywordtype">float</span> t2) <span class="keyword">const</span>;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1Spline.html#a4e03c541b7c1f96c2fe8d5b1fef558c9">chord_length_approximation</a>(<span class="keywordtype">float</span> percentage) <span class="keyword">const</span>;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1Spline.html#a755e063448eccbb2714d763596630b9d">curvature</a>(<span class="keywordtype">float</span> parameter, QVector3D&amp; normal) <span class="keyword">const</span>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Spline.html#aff2bf1b4b2e7b5f30e5f2ca35ec93d86">first_derive</a>(<span class="keywordtype">float</span> parameter) <span class="keyword">const</span>;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Spline.html#a3c560130edff8a38ed93bf95cf759137">second_derive</a>(<span class="keywordtype">float</span> parameter) <span class="keyword">const</span>;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Spline.html#ada8dd726a502187bf0e35022576395d3">intersect_plane</a>(<span class="keyword">const</span> <a class="code" href="classShipCAD_1_1Plane.html">Plane</a>&amp; plane, <a class="code" href="classShipCAD_1_1IntersectionData.html">IntersectionData</a>&amp; output) <span class="keyword">const</span>;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">value</a>(<span class="keywordtype">float</span> parameter) <span class="keyword">const</span>;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="comment">// persistence</span></div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#ae90c8807fb8058d6309f47db64e2d40e">loadBinary</a>(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; source);</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a5abb8df513d25abe8b0ec000a7926a66">saveBinary</a>(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; destination) <span class="keyword">const</span>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a33a6300e79043b2fee45cb0eca0696bb">saveToDXF</a>(QStringList&amp; strings, QString layername,</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;             <span class="keywordtype">bool</span> sendmirror) <span class="keyword">const</span>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="comment">// drawing</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="comment">//int distance_to_cursor(int x, int y, Viewport&amp; vp) const;</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a6424ed433d241f566c15891cc25a74dd">draw</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader);</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#aa1dcf2a9cff6d17afd926219e3791f9f">drawStarboard</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="comment">// getters/setters</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">  131</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">showCurvature</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _show_curvature;}</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#aae0f5ce3bc2aa58759abd32f3462bf16">  133</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#aae0f5ce3bc2aa58759abd32f3462bf16">setShowCurvature</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        {_show_curvature = val;}</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#a788c76b36b091f3d5b92c9cde414cb89">  135</a></span>&#160;    QColor <a class="code" href="classShipCAD_1_1Spline.html#a788c76b36b091f3d5b92c9cde414cb89">getCurvatureColor</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _curvature_color;}</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#ac40c22712433f98d657ecaed459d03a0">  137</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#ac40c22712433f98d657ecaed459d03a0">setCurvatureColor</a>(<span class="keyword">const</span> QColor&amp; val)</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        {_curvature_color=val;}</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#af82a5bc6171a9252de5e4c74bf1288e5">  139</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1Spline.html#af82a5bc6171a9252de5e4c74bf1288e5">getCurvatureScale</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _curvature_scale;}</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#a17ba0378bfd4a39b4d96d914332c26e4">  141</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a17ba0378bfd4a39b4d96d914332c26e4">setCurvatureScale</a>(<span class="keywordtype">float</span> val)</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        {_curvature_scale=val;}</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordtype">float</span> <a class="code" href="classShipCAD_1_1Spline.html#a81c3cc38d6e70f968b53066bc98e1e01">getParameter</a>(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">  144</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">getPoint</a>(<span class="keywordtype">size_t</span> index)<span class="keyword"> const</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _points[index];}</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#aadd67f56435eea8bb6c74c3aa073c21d">  146</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Spline.html#aadd67f56435eea8bb6c74c3aa073c21d">getFirstPoint</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _points.front();}</div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#a3e3e7413b8ca8383a93f4770931ed6ed">  148</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Spline.html#a3e3e7413b8ca8383a93f4770931ed6ed">getLastPoint</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _points.back();}</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#ae02af8d5473f952644ac5103d7beebf2">setPoint</a>(<span class="keywordtype">size_t</span> index, <span class="keyword">const</span> QVector3D&amp; p);</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#a58f8c0b2fcc07931a886a85515750e59">  151</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1Spline.html#a58f8c0b2fcc07931a886a85515750e59">getFragments</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _fragments;}</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">setFragments</a>(<span class="keywordtype">size_t</span> val);</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#aa471e8916034ea3e11c1feb9c8bb935b">  154</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Spline.html#aa471e8916034ea3e11c1feb9c8bb935b">isKnuckle</a>(<span class="keywordtype">size_t</span> index)<span class="keyword"> const</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _knuckles[index];}</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#ad4f075e2e8f1d3ac7c2d22b5be75bbad">setKnuckle</a>(<span class="keywordtype">size_t</span> index, <span class="keywordtype">bool</span> val);</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">  157</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="keyword">        </span>{ <span class="keywordflow">return</span> _nopoints; }</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    <span class="comment">// output</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Spline.html#a156ffe855d149ad445b178078ee4451c">dump</a>(std::ostream&amp; os) <span class="keyword">const</span>;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="comment">// methods used in simplify</span></div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordtype">float</span> weight(<span class="keywordtype">size_t</span> index, <span class="keywordtype">float</span> total_length);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    std::vector&lt;float&gt;::iterator find_next_point(std::vector&lt;float&gt;&amp; weights);</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keywordtype">size_t</span> _nopoints;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keywordtype">size_t</span> _fragments;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordtype">bool</span> _show_curvature;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="keywordtype">bool</span> _show_points;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    <span class="keywordtype">float</span> _curvature_scale;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    QColor _curvature_color;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    std::vector&lt;QVector3D&gt; _points;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    std::vector&lt;bool&gt; _knuckles;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    <span class="comment">// cached elements</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keywordtype">float</span> _total_length;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    std::vector&lt;float&gt; _parameters;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    std::vector&lt;QVector3D&gt; _derivatives;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;};</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="namespaceShipCAD.html#a053b941b2c87049bb9380428d4d5a056">  186</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="classPointerVector.html">PointerVector&lt;Spline&gt;</a> <a class="code" href="namespaceShipCAD.html#a053b941b2c87049bb9380428d4d5a056">SplineVector</a>;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;};              <span class="comment">/* end namespace */</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;std::ostream&amp; <a class="code" href="spline_8h.html#a2b2273ce57731ad10e80bb84737c27c3">operator &lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1Spline.html">ShipCAD::Spline</a>&amp; spline);</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="ttc" id="entity_8h_html"><div class="ttname"><a href="entity_8h.html">entity.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a9b466ad7510032dafb0421f2d834bde6"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a9b466ad7510032dafb0421f2d834bde6">ShipCAD::Spline::rebuild</a></div><div class="ttdeci">virtual void rebuild()</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00114">spline.cpp:114</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a04a94537b420a8d19dc5f78526e9a825"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">ShipCAD::Spline::getPoint</a></div><div class="ttdeci">QVector3D getPoint(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00144">spline.h:144</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ac3d9f4514573be91b316413bf062791a"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ac3d9f4514573be91b316413bf062791a">ShipCAD::Spline::add</a></div><div class="ttdeci">void add(const QVector3D &amp;p)</div><div class="ttdoc">add a point to the spline </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00371">spline.cpp:371</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ac40c22712433f98d657ecaed459d03a0"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ac40c22712433f98d657ecaed459d03a0">ShipCAD::Spline::setCurvatureColor</a></div><div class="ttdeci">void setCurvatureColor(const QColor &amp;val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00137">spline.h:137</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ae90c8807fb8058d6309f47db64e2d40e"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ae90c8807fb8058d6309f47db64e2d40e">ShipCAD::Spline::loadBinary</a></div><div class="ttdeci">void loadBinary(FileBuffer &amp;source)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00709">spline.cpp:709</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ae02af8d5473f952644ac5103d7beebf2"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ae02af8d5473f952644ac5103d7beebf2">ShipCAD::Spline::setPoint</a></div><div class="ttdeci">void setPoint(size_t index, const QVector3D &amp;p)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00103">spline.cpp:103</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a120c5530571f138daad61426053220f3"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a120c5530571f138daad61426053220f3">ShipCAD::Spline::delete_point</a></div><div class="ttdeci">void delete_point(size_t index)</div><div class="ttdoc">delete a point from the spline </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00469">spline.cpp:469</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa8e588b92d23c74bb6ec120624b49e54"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa8e588b92d23c74bb6ec120624b49e54">ShipCAD::Spline::insert_spline</a></div><div class="ttdeci">void insert_spline(size_t index, bool invert, bool duplicate_point, const Spline &amp;source)</div><div class="ttdoc">insert a copy of a spline at the index </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00627">spline.cpp:627</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aadd67f56435eea8bb6c74c3aa073c21d"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aadd67f56435eea8bb6c74c3aa073c21d">ShipCAD::Spline::getFirstPoint</a></div><div class="ttdeci">QVector3D getFirstPoint() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00146">spline.h:146</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a043f418b363a0dc7161b9106a72ef8b4"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a043f418b363a0dc7161b9106a72ef8b4">ShipCAD::Spline::simplify</a></div><div class="ttdeci">bool simplify(float criterium)</div><div class="ttdoc">simplify the spline by removing points </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00319">spline.cpp:319</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html">ShipCAD::IntersectionData</a></div><div class="ttdoc">Record of geometry intersections. </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00049">entity.h:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa1ea6446e0b59d5cce88580242cd25b6"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa1ea6446e0b59d5cce88580242cd25b6">ShipCAD::Spline::insert</a></div><div class="ttdeci">void insert(size_t index, const QVector3D &amp;p)</div><div class="ttdoc">insert a point at the index </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00495">spline.cpp:495</a></div></div>
<div class="ttc" id="spline_8h_html_a2b2273ce57731ad10e80bb84737c27c3"><div class="ttname"><a href="spline_8h.html#a2b2273ce57731ad10e80bb84737c27c3">operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const ShipCAD::Spline &amp;spline)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00876">spline.cpp:876</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a6424ed433d241f566c15891cc25a74dd"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a6424ed433d241f566c15891cc25a74dd">ShipCAD::Spline::draw</a></div><div class="ttdeci">virtual void draw(Viewport &amp;vp, LineShader *lineshader)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00507">spline.cpp:507</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa62cf7afa6461bafce7227ec31875219"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">ShipCAD::Spline::value</a></div><div class="ttdeci">QVector3D value(float parameter) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00806">spline.cpp:806</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a26293a4ee636c2b968c45731425d5c94"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a26293a4ee636c2b968c45731425d5c94">ShipCAD::Spline::invert_direction</a></div><div class="ttdeci">void invert_direction()</div><div class="ttdoc">invert the direction of this spline </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00698">spline.cpp:698</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ad4f075e2e8f1d3ac7c2d22b5be75bbad"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ad4f075e2e8f1d3ac7c2d22b5be75bbad">ShipCAD::Spline::setKnuckle</a></div><div class="ttdeci">void setKnuckle(size_t index, bool val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00092">spline.cpp:92</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a7ad84ea604562c7c9cb309b4e78e25c5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a7ad84ea604562c7c9cb309b4e78e25c5">ShipCAD::Spline::Spline</a></div><div class="ttdeci">Spline()</div><div class="ttdoc">constructor </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00047">spline.cpp:47</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa15d52dbfa55ec3b1ec272104a45ebd5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">ShipCAD::Spline::numberOfPoints</a></div><div class="ttdeci">size_t numberOfPoints() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00157">spline.h:157</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a20cddb0145346150b4ca30b63ef47c9b"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a20cddb0145346150b4ca30b63ef47c9b">ShipCAD::Spline::~Spline</a></div><div class="ttdeci">virtual ~Spline()</div><div class="ttdoc">destructor </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00067">spline.h:67</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a33226d5554ed979f264eb4c6d533145f"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a33226d5554ed979f264eb4c6d533145f">ShipCAD::Spline::coord_length</a></div><div class="ttdeci">float coord_length(float t1, float t2) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00379">spline.cpp:379</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aaae6e558fad0833cde71f9ed38e4fb96"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">ShipCAD::Spline::setFragments</a></div><div class="ttdeci">void setFragments(size_t val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00084">spline.cpp:84</a></div></div>
<div class="ttc" id="classPointerVector_html"><div class="ttname"><a href="classPointerVector.html">PointerVector&lt; Spline &gt;</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a33a6300e79043b2fee45cb0eca0696bb"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a33a6300e79043b2fee45cb0eca0696bb">ShipCAD::Spline::saveToDXF</a></div><div class="ttdeci">void saveToDXF(QStringList &amp;strings, QString layername, bool sendmirror) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00740">spline.cpp:740</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa1dcf2a9cff6d17afd926219e3791f9f"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa1dcf2a9cff6d17afd926219e3791f9f">ShipCAD::Spline::drawStarboard</a></div><div class="ttdeci">virtual void drawStarboard(Viewport &amp;vp, LineShader *lineshader)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00565">spline.cpp:565</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a3c560130edff8a38ed93bf95cf759137"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a3c560130edff8a38ed93bf95cf759137">ShipCAD::Spline::second_derive</a></div><div class="ttdeci">QVector3D second_derive(float parameter) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00230">spline.cpp:230</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a156ffe855d149ad445b178078ee4451c"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a156ffe855d149ad445b178078ee4451c">ShipCAD::Spline::dump</a></div><div class="ttdeci">void dump(std::ostream &amp;os) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00849">spline.cpp:849</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a788c76b36b091f3d5b92c9cde414cb89"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a788c76b36b091f3d5b92c9cde414cb89">ShipCAD::Spline::getCurvatureColor</a></div><div class="ttdeci">QColor getCurvatureColor() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00135">spline.h:135</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aff2bf1b4b2e7b5f30e5f2ca35ec93d86"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aff2bf1b4b2e7b5f30e5f2ca35ec93d86">ShipCAD::Spline::first_derive</a></div><div class="ttdeci">QVector3D first_derive(float parameter) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00479">spline.cpp:479</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html">ShipCAD::FileBuffer</a></div><div class="ttdoc">in-memory buffer for a binary file (FREE!Ship format) </div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8h_source.html#l00052">filebuffer.h:52</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a58f8c0b2fcc07931a886a85515750e59"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a58f8c0b2fcc07931a886a85515750e59">ShipCAD::Spline::getFragments</a></div><div class="ttdeci">size_t getFragments() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00151">spline.h:151</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a5abb8df513d25abe8b0ec000a7926a66"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a5abb8df513d25abe8b0ec000a7926a66">ShipCAD::Spline::saveBinary</a></div><div class="ttdeci">void saveBinary(FileBuffer &amp;destination) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00729">spline.cpp:729</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a81c3cc38d6e70f968b53066bc98e1e01"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a81c3cc38d6e70f968b53066bc98e1e01">ShipCAD::Spline::getParameter</a></div><div class="ttdeci">float getParameter(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00077">spline.cpp:77</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aae0f5ce3bc2aa58759abd32f3462bf16"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aae0f5ce3bc2aa58759abd32f3462bf16">ShipCAD::Spline::setShowCurvature</a></div><div class="ttdeci">void setShowCurvature(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00133">spline.h:133</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a755e063448eccbb2714d763596630b9d"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a755e063448eccbb2714d763596630b9d">ShipCAD::Spline::curvature</a></div><div class="ttdeci">float curvature(float parameter, QVector3D &amp;normal) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00447">spline.cpp:447</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_af82a5bc6171a9252de5e4c74bf1288e5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#af82a5bc6171a9252de5e4c74bf1288e5">ShipCAD::Spline::getCurvatureScale</a></div><div class="ttdeci">float getCurvatureScale() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00139">spline.h:139</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html"><div class="ttname"><a href="classShipCAD_1_1LineShader.html">ShipCAD::LineShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00075">shader.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa471e8916034ea3e11c1feb9c8bb935b"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa471e8916034ea3e11c1feb9c8bb935b">ShipCAD::Spline::isKnuckle</a></div><div class="ttdeci">bool isKnuckle(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00154">spline.h:154</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a17ba0378bfd4a39b4d96d914332c26e4"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a17ba0378bfd4a39b4d96d914332c26e4">ShipCAD::Spline::setCurvatureScale</a></div><div class="ttdeci">void setCurvatureScale(float val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00141">spline.h:141</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a4e03c541b7c1f96c2fe8d5b1fef558c9"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a4e03c541b7c1f96c2fe8d5b1fef558c9">ShipCAD::Spline::chord_length_approximation</a></div><div class="ttdeci">float chord_length_approximation(float percentage) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00399">spline.cpp:399</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a02967f3eee8b1755eab0d7da55c3c621"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a02967f3eee8b1755eab0d7da55c3c621">ShipCAD::Spline::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00790">spline.cpp:790</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html"><div class="ttname"><a href="classShipCAD_1_1Entity.html">ShipCAD::Entity</a></div><div class="ttdoc">base class for all non-surface drawable elements </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00065">entity.h:65</a></div></div>
<div class="ttc" id="classShipCAD_1_1Plane_html"><div class="ttname"><a href="classShipCAD_1_1Plane.html">ShipCAD::Plane</a></div><div class="ttdef"><b>Definition:</b> <a href="plane_8h_source.html#l00039">plane.h:39</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a053b941b2c87049bb9380428d4d5a056"><div class="ttname"><a href="namespaceShipCAD.html#a053b941b2c87049bb9380428d4d5a056">ShipCAD::SplineVector</a></div><div class="ttdeci">PointerVector&lt; Spline &gt; SplineVector</div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00186">spline.h:186</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a2b6fa67f7463838ab2ee9d7b8381a9c5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">ShipCAD::Spline::showCurvature</a></div><div class="ttdeci">bool showCurvature() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00131">spline.h:131</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html"><div class="ttname"><a href="classShipCAD_1_1Spline.html">ShipCAD::Spline</a></div><div class="ttdoc">spline entity used in intersections etc </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00053">spline.h:53</a></div></div>
<div class="ttc" id="pointervec_8h_html"><div class="ttname"><a href="pointervec_8h.html">pointervec.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ada8dd726a502187bf0e35022576395d3"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ada8dd726a502187bf0e35022576395d3">ShipCAD::Spline::intersect_plane</a></div><div class="ttdeci">bool intersect_plane(const Plane &amp;plane, IntersectionData &amp;output) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00666">spline.cpp:666</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a3e3e7413b8ca8383a93f4770931ed6ed"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a3e3e7413b8ca8383a93f4770931ed6ed">ShipCAD::Spline::getLastPoint</a></div><div class="ttdeci">QVector3D getLastPoint() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00148">spline.h:148</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a6e932411f0f4463514f80011c58f5e6a"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a6e932411f0f4463514f80011c58f5e6a">ShipCAD::Spline::setBuild</a></div><div class="ttdeci">void setBuild(bool val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00065">spline.cpp:65</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
